package com.zzt.spider.service;

import com.zzt.spider.service.searchService.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.concurrent.TimeUnit;

@Service
public class SearchSpiderSourceService {
    private static final Logger log = LoggerFactory.getLogger(SearchSpiderSourceService.class);
    @Autowired
    private FreeKanPianSourceService freeKanPianSourceService;
    @Autowired
    private FreeKanPianSourceGCService freeKanPianSourceGCService;
    @Autowired
    private FreeKanPianSourceZFService freeKanPianSourceZFService;
    @Autowired
    private FreeKanPianSourceZWService freeKanPianSourceZWService;
    @Autowired
    private FreeKanPianSourceOMService freeKanPianSourceOMService;

    public void getSource() {
        log.info("查询freekanpian的日本片");
        this.freeKanPianSourceService.getSource();
        log.info("查询freekanpian的国产片");
        this.freeKanPianSourceGCService.getSource();
        log.info("查询freekanpian的制服片");
        this.freeKanPianSourceZFService.getSource();
        log.info("查询freekanpian的自慰片");
        this.freeKanPianSourceZWService.getSource();
        log.info("查询freekanpian的欧美片");
        this.freeKanPianSourceOMService.getSource();
    }
}
